package temp;

import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.TimeUnit;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchedulerTest {
    public static void main(String[] args) {
        TimerTask t=new TimerTask() {
            @Override
            public void run() {
                System.out.println("dididi");
            }
        };
        Timer timer=new Timer();
        timer.schedule(t,0,7*1000);
    }
}
